package design.pattern.proxy.static$proxy;

/**
 * @author AtoVio, Winter Yuan
 */
public class ProxyPoint implements TicketsSelling{

    // 声明目标类，即火车站
    private final TrainStation station = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代理点收取服务费");
        station.sell();
    }
}
